<!-- 系统自动生成 Date:2021-06-15 13:35 -->
<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="新增【请填写功能名称】" bodyClass="white-bg" libs=["bootstrapSelect"]/>
<div class="wrapper wrapper-content ibox-content">
<@f.form id="form-goods-add"  class="form-horizontal">
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "factoryPrice"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="factoryPrice"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "gcId"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="gcId"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "goodsBrandId"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="goodsBrandId"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "goodsCurrentPrice"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="goodsCurrentPrice"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "goodsInventory"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="goodsInventory"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "goodsName"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="goodsName"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "goodsPrice"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="goodsPrice"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "goodsUnitSeller"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="goodsUnitSeller"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "showMarketPrice"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="showMarketPrice"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "showPrice"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="showPrice"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "spec"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="spec"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
        <@ctx.i18n text = "specificationDescription"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="specificationDescription"  />
        </div>
    </div>
</@f.form>
</div>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "/goods"
    /**表单验证*/
    <@compress single_line=true>
    $("#form-goods-add").validate({
        focusCleanup: true
    });
    </@compress>

    function submitHandler() {
        if (opt.validate.form()) {
            opt.operate.save(prefix + "/add", $('#form-goods-add').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>